package com.example.h5_share_demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName IndexController
 * @Description
 * @Author zhangsw
 * @Date 2021/1/12 23:13
 * @Version 1.0
 */
@Controller
public class IndexController {

    @GetMapping("toIndex1")
    public String toIndex1() {
        return "index";
    }

    @GetMapping("toIndex2")
    public String toIndex2() {
        return "index2";
    }

    @GetMapping("share1")
    public String share1() {
        return "share1";
    }

    @GetMapping("share2")
    public String share2() {
        return "share2";
    }

    @GetMapping("testjq")
    public String testjq() {
        return "test-jquery";
    }
}
